package win.liumian.sso.server.po;

import com.alibaba.fastjson.JSONObject;

/**
 * 封装统一的response数据结构
 *
 * @author liumian
 */
public class ResponsePo {

    private boolean success;

    private String message;

    private JSONObject data;

    public ResponsePo(boolean success, String message, JSONObject data) {
        this.success = success;
        this.message = message;
        this.data = data;
    }

    public ResponsePo() {
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public JSONObject getData() {
        return data;
    }

    public void setData(JSONObject data) {
        this.data = data;
    }
}
